sources := ${shell echo *.f95}
compiler := gfortran

out := $(sources:.f95=.x)
.PHONY : all
all : $(out)
$(out) : %.x : %.f95
	-$(compiler) -g -o $@ $<

.PHONY : clean
clean :
	-rm *.x
